package com.avocado.base.dto.user;

import com.avocado.base.validator.user.UserPasswordValidation;
import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.ArrayList;
import java.util.List;


@Data

public class UserDto {
	
	private String realName;

	@NotBlank(message = "操作失败,邮箱不能为空!")
	@NotNull(message ="操作失败,邮箱不能为空!")
	@Email(message = "操作失败,邮箱格式不正确!")
	private String email;

	@NotNull(message ="操作失败,所属机构不能为空!")
	private Long organizationId;
	
	private String phone;

	private String mobilePhone;

	private String company;


	private List<Long> roleIdList=new ArrayList<>();

	private String certificateNo;

	private String certificateType;

	private String gender;

	private String wechatId;
	


}
